Documentation

Added more documentation.