added support for creating availability profiles
Modified profile retrieval to reflect new schema