Moved majority of classes to another packages to improve structure.
Reorganised database-related definitions.
Renamed MainService to RefreshService.