Added database, changed app ui