Updated documentation

Also the classes Singleton is now in namespace internal::