Made the model SNP table and its interface functions into its own module.