Updated service structure to allow applications to store settings in
their own preferences and pass to service via Intent.