Renamed all implementation classes with "345impl" in the name to "modernimpl"

* Gen VI is compatible, and class/file names would be too unwieldy with gen3456impl
database/queries: error handling for invalid queries (ints return 0, strings return 'None'
Converted most enums to Python