Added abstract arithmetic class