fixed so it works now as a class.
added information how to use it and dependencies.