fixed syntax errors after path refactoring, start testing
fixing more errors.. loaded main page