annotate models and add import routes for resources