rewrite processing model to handle Collection objects and new config format