Add license
Remove unnecessary functions
Fix usage prompt