added proper errors for linting
started moving main functionality to server.py, added seperate view function for tutorial
remove linting function, make tutorial a constant rather than a method
fixed linting typo and really made tutorial a constant
pep 8 formatting