cli option to show version
Put constants in constants.h
Move api check in own method
More output options