Refactored server-side; added base classes object and unit, removed some brain-damage