Documentation

Added some documentation.