Refactoring some code and adding disable_tls flag