Added console script entry point
Refactored process_image() to 3 steps: validation, fetching, rendering.
Merge remote-tracking branch 'upstream/master'
Changed main() to allow extension