Refractored model and started refactoring sersic