implement Room class, unit tests