added a Main file for compilation