Added emma functionality.
The printing doesn't work yet, because we give it a dict.
Incorporate the printer functionality.