API and gui for archiving #43