Updated documentation after complete rewrite