Added configration options to config for cache.
Fixed credits.
RefactorizatioN
Adding open auth support.
Fix