Fix indentation, pep8ify, rm unsused imports.
Merge pull request #8 from sotte/fix_indentation

Fix indentation, pep8ify, rm unsused imports.