added license line at top of main.cpp
cleaned up includes in main.cpp