added logs to gitignore
added tests
added trigger controller