created a model for sending serialized lambdas used a static class holder. class is grabbed from configuration files.