moved main.cpp to src folder