main.cpp with help and options check