Various pep8 and comments removal + converted shell module to use run_through_shell command