vmapp: add the new framework to build vmapps.