Added GUI and made some changes to database