Fixed no 500.html error and view imports
Removed py[co] files again