move main.cpp to android project