- added support to pass data file format as second argument
- added method for extracting frames from data file, moved plist specific parsing to it
- added option for json data file
- left common logic for generating sprites in gen_png_from_data method
- some refactoring
- exiting in case of wrong data format argument