Yes, his memory is automatically erased when he finishes transplanting. Without wanting to spoil much, his only purpose in life is to survive and the one thing he knows best is combat, so basically he is very similar to an organic machine. He doesn't take sides to fulfill his goal, even if it might benefit him. His target will be Aperture.