Removed duplicated function disqus_api(). Injected config.factory, logger.factory and entity.manager services. And few other minor fixes