First stages of TS overhaul, sphere class and build2dAAgrid