Meta refactor
Refactor metadata from memory in imageviewer to metadata handler, implement in mock handler. add initial resources to db handler
Refactor metadata from memory in imageviewer to metadata handler, implement in mock handler. add initial resources to db handler