initialized all the functions of the accomodations controller