moving to rst and adding formal docs