WIP - patterncacher in place, starting new loader tests
adding caching and added patterns/ folder to .gitignore
enhanced detection of repeating outputs, added cycle to output