generate base models (no links), move to getters