refactor data service as common service for app/module