updated readme and version
refactored, added outputdirectory setting. updated readme. ready to release 1.4