Split module documentation into its own file, fix docs