Added Entity class

Loading building bug