Added menus and database connection handler