readding cleaned caltool, which will eventually become part of a 30boxes java api