UI work. Can now insert into database.