avoid file process when no file uploaded
bug fix
Merge pull request #60 from mshella/master

bug fix
refactor schema to PSR-0
implement model default format // format without params