cleaning up resque and postgres modules