Controller module changed to functions

Controller input is now handled through functions. The input type
(keyboard/ouya) is determined at compile-time.