Code refactoring in Container management
The container management logic is starting to look messy. This merge request will track refactoring to:
- ease manifest management
- simplify container creation code
- make it possible to implement alternative container runtime implementations