Refactor path parsing so the mounted route parsing happens on setup vs every request