Moved stuff to room.js and created a reset function