some initalization has been moved to app class