Add to the PatternsLibrary Database