Implement the build process for universal module definition

It isn't applied to all source files, but it has been demostratively for Context, ElementAllocator, ElementOutput, Engine, and Entity.