Added more database queries. Added initial logic for the main activity - supplying the class list view with data.