Move Configuration to models