Turn Input into some sort of finite state thing, implement building selection