Added apps_root method to core