Feature implementations and bug fixes

Feature implementations:
- Rudimentary messaging framework
- Rudimentary error framework

Changes:
- Refactor retrieve/update workflow

Signed-off-by: Marcel Oomens <Marcel.Oomens@cromido.org>