Added documentation content and misc improvements