basic movements in separate cpp file