Correct requirements path
Several PEP8 corrections and unused functions removal