Proper get_availability function.
Priority sorting for all channels of one location.
More work on the interface.