main.cpp added command line arguments option
adjusted features