Updated documentation

Nearly finished with it.