Add SSl in production
Refactorings