Creation of a main file with one parameter (libswift directory), a main
instance and swift instance