Loadable foundation frameworks for apps and services