upading domain documenation and simplifying doc layout. This resolves #7.