Fixed typo in README
Refactored image resizing into a separate library, added a command line interface to it, added additional unit tests and test images