Reorganize and extend documentation