cleanup: model now makes use of config variables

model.py redefined the config variables `APPLICATION_ID` and `CURRENT_VERSION_TIMESTAMP`.
with this it will import them from config instead.