Simplify variant.h
Separate vm execution source code