Add Availability class and tests
Add test for availability() method
Test for null-ness of more types
Initialize optional properties and implement availability() method