Added help for pivot but not yet implemented the method. Cleaned up the rest of the shell implementation and added some more javadoc.