large refactor of project structure to accomodate nodejs server