misc fixes
migration to fix STI

type now contains module.

example:

 Initr::Base instead of Base