Added main file

Added a main file to contain the program.