made FromString and FromBytes functors extend the appropriate function base classes
implemented commit object parsing