Updated service fragment, caching options and also refactored some code.
Updated to version 0.5.
Merge branch 'develop'