app models now used as outside libs

Application models now are separated and have their own repository.