Added the middleware and tests (which pass)
add :license
Version bump