add distillery model and basic tests