Rewrote building manager logic a bit