Removed unecessary documentation, fixed bugs.