refactoring slots and rooms
Massive refactoring effort (No functionality change)
Minor variable change