add parking manager and refactor