New sandbot code ... partially incomplete, but working