Cleaned up code.

I removed pointless lines in some classes and renamed the class with
controls if you're allowed to build or not. It now has a more
appropriate name for its job.