Be explicit about the READ_EXTERNAL_STORAGE
Refactor code, use onStartCommand in stead of onStart for service
Simplify taking wifi/wake lock
Gracefully handle killing of settings activity while server is running, see issue #31