refactor repo, and move docfiles to separate repo