added async plugin and command line initialization support