Fix bugs on my previous migration to the ORM and use static instances for model instanciation rather that self to get the table names in the extended Models classes on projects