refactor example models into separate file