Started on metadata. Fixed dependencies for annotation editor.