fix(tools): remove old build files
fix(basic): move invariant checking type to basic
fix(tools): use oasis for multi-exe works.