Possible module structure, not well tested. sncosmo missing