style and pep 8 edits, updated requirements