refactoring the project dir; add routing