Move code up one level
Move dagmcversion to common functions.