Database implemented and Main screen created.