rename main file
move includes to the top of the file
remove redundant call due to merge
make Main an object