Split model into API/back-end classes.