add menu bar, database, create window