Support for file write and clean up the summary print
Update README
Add license