instead of having to edit the source on each application using the dependency,
as suggested by the original author, make everything customizable, making it
a much better fit for dependency management tools (such as maven).
Made all required params configurable.
Fixed the examples adding args to DbConnect
Thanks for updating the documentation as well as making the code changes, this should make things a little easier for people ;)