Added cache to keep track of units, made moving more sophisticated.
Broke everything. WEEEEE!!!!