Rewrote level and some Tile code, started work on units.