moved all input stuff to inputmanager. ants use their own map for a*