loading/saving repos and tdos more complete