Add trusted api, delete left over files