If you didn't get an answer it is probably because you need an expert in software development. Hopefully, the following may help:
I had the same project in my computer design class. Thankfully I got the whole thing right. It is hard to explain in words how it is done.