added model and api for room data