Documentation for common functions
Adds documentation for the classes
Merge branch 'documentation'