create makefile
create main.cpp
split declaration from definition