Finished database component and made some changes to the App class