Clean up and improvements

the code for batteries has been completely redone and an arc to show
where the batteries are aiming is now implemented