Removed persistence of rsid by remote yards on lane
Made validSid a staticfunction
Some refactoring