Added database abstraction layer.
Set up event list and details view pager.