Patterns, Utils and Libraries for working with IMDGs