Refactored app_path into a default attribute