Init slim_app code