Refactor middleware and move all injection related stuff to a new class.
Move gem version to a file and bump to v0.0.2.