adding working app with database and basic user interface