Feature/doc

Updated documentation extensively.