Tweaked use statements and docblocks
Stricter config checking
Make sure the ttl in an integer
Stricter config checks