Move atm class into models
Add tests for atms/ POST functionality