Reformatting code
Add new index file
Add commander, q and qx
Move current index to lib