Removed unneeded dependencies.
Added some more documentation.