drop core component dependencies
provide __dirname to cli