Refactored ParkingManager controller .