Changed many things

- New system for dealing with units and buildings. Currently deleting
old system.
- Renamed some classes and changed others