added Block class and finished its attributes