added documentation config, comments, etc.