Create atm.cc

this is the implimentation of the atm interface