Added a main.cpp file in order to fix build issue using Eclipse