Adding first cut at concept of a model

Focusing on encoder first.