Added separate stats.config
Added optional rate limiting