Adding new file that turns min model functions into classes.