Merged ai and pc movement from core.

Merged ai and pc movement from core. Also allowed ai core to be
implemented. At this point the mobiles aren't being updated in the 3d
renderer. Also made debugging html test-sets workable again after the
restructuring of files.