[Core] 'app' process removed, route and other data moved to functions for better perfomance.