fixed variables to private, constor for building
constructor for building