[core] Optimize class loading
[core] Set BASHOR_INTERACTIVE automatic.