Moved metadata to separate class; added profiles listing/deletion