Improved the map system greatly, added a new class for actors.