zmain.cpp creation

Not complete, I have to get off of the computer.