setup Active Model Adapter