Removed APP_PATH, switched back to use __DIR__ due to error using "phalcon model"