Changed the structure of the manual, started using doctools.