added SMC

added simple model for codeigniter