Working on documentation

Just added a bunch of references.