Implementation of morphology models as astropy models and testing

Implementation of morphology models as astropy models and testing.