Fixed formatting, style, and imports

Also renamed "pyodb" to "pyodb.py"
fixed import error
more errors
Added more debug messages, refactored