ADD basic implementation of archiving api