Refactored levels route