[FIX] models: reorganize model instantiation

Adding custom fields was broken, because the models did not initialize themselves.
Move code from _build_model() to __init__() just like before the code reorganization.