Added docs, minor c++11 additions