implemented message service creation from application factory