Refactored classes. Rewrote tile generator (oh so hacky).