Moved app to core.main