Move model into configuration