moved Enclosure to a seperate file