Changed all models to astropy models added testing and docs