initial checkin
renamed the tool script
deleted file
refactor crypto functions
refactor common functions