Fixed errors with the template

Made it work for python 3.4 on osx.
Renamed modules to pass linting.
Fixed indentation to be 4 spaces as per pep8.
Made tests run.