move mds to doc/
passport needs to be added globally if used at all
bitbucket auth stage 1 complete, not pretty.