base: move stubs code to base.js

* Stub out IC generation