removing env constants
restrucuting
adding phpdoc comment