requirements file for heroko python config
code refactoring
methods comments added
code refactoring