Began to create ql.Invocation

In the long run, this will replace the way we've been writing functions,
but this is just the start.