added structure for getopts - Issue #4
incremented serial
removed commenting issue #4 structure done