Fix tables and create method for get free rooms