some refactorings has been done to clean up the code.
some refactorings has been done to clean up the code.

arcusfelis/wrangler,bsmr-erlang/wrangler,prowessproject/wrangler,tdb/wrangler,andrzejsliwa/wrangler,arcusfelis/wrangler