added some basic classes
added all patterns as json