PatternDB editor tool