Availabilities crud

Create a helper and use it everywhere.