renamed main app to core