Moved all ORM base abstraction classes into its own package to make it easier to maintain. Fixed module imports.