Created ui for availability and split into modules