Created a tank class.