Moved the argument process from the main to a function. Added contact information to the license in every file

A new struct has been added for the arguments. Changes in Main and in IO