oops, forgot to commit this one, sorry
move compilation-related stuff out of the model package