Building Classification and Codes