Added a `shallowCopy` function

And also a bunch of dotfiles and updated the README with some
documentation.