refactor house types from Class to Object