Implemented ships.

Implemented ships as well as several other changes; now ships are added to the entity engine, and events are piped through.