Added input controller, update/confirm methods to main