split documentation and README into chapters