(doc) added documentation for index, main, and app