Made rate limiter a general lib, implemented module loading