added schema + small refactoring + unfinished menus