first draft of generator for server application memory