Core: Add OptionParser wrapper that takes CommandLineConstants

Couldn’t resolve to move duplicated code into core and add scopt dependency there