init framework, add cmdline args parser