changed Habitat from interface to abstract class