refactored documentation into its own controller