Move documentation to rst file