Added abstract electode class.