Added support for reading from an InputStream
Added JUnit test for reading from an InputStream
Updated readme