Create gf.cpp

main function, plugin are added here.