added simple routing, changed file structure