Refactored internal service modules for Onsen UI.