created building repository interface and building entity