Adding an implementation of QLAgent