added building classes and a clean system for having buildings do things