added precommit hook script, will include a setup script later as well. also added .pep8