add some basic documentation

still need to fix a few things, but first need to fix a bug