moved some input functions to the input controller

moved some input functions to the input controller