Add docs for factory and the instance methods
Merge pull request #2 from nickb1080/docs

Add docs for factory and the instance methods