Added MainService class.
Added isMyServiceRunning() method.
Added a check in the MainActivity - if the service is not running, start
it and continue with the activity; if the service is already running,
finish current activity and open the service management console.