refactor and organize docs