* Fixed compile issue and moved main.cpp to correct directory