Added controller and limit switches