Added basic documentation as provided by Dan