major colibri refactoring, new pattern backend