update calliope architecture to support model and doctrine orm usecase model