split documentation and README into chapters

see #141