input refactoring

I should get to making this a game