Split http config into separate class

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Updated cache config

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Updated mail config

Signed-off-by: Tom Wright <tom@inflatablecookie.com>