engine: Add setup function class for KiwiCode library