Moves Availability class. Moves old code.