prerequisites in readme
refactoring and better loggning