first step of refactoring
front controller
move files so that only the front controller is webserver accessible, fix paths