The tools is now working as a command line tool. Arguments have been uniformed and code have been cleaned.