added documentation and deleted functional or roombased index.