Shared code for MSS Code Factory applications