added the Crypt module and the main script