move main.cpp to src folder