main.cpp builder and header