Added ctors to documentation, some tiny cleanup in the code