Created SQL table registration in the hardcore module. Also fixed imports and enum names.