Adds building and resource classes.