Please see my comment to the question. Therefore, no "clear directions", sorry. You need to build some architecture, and this is should be done only when the goals of your project are more clear, as well as the number of most critical requirements. So, I can only give you the direction for some starting steps.
Note that the items I listed are not 1, 2, 3… they are not ordered, are not steps. You decide how and when to approach what. I'm just trying to give your the idea what preliminary steps could be.
Good luck,
—SA