Completed documentation
Moved all implementations of class methods into cpp files