Added easier and more flexible way to define keywords, added qmmm example.