moving logic into services, first trajectory service implemented
now rotation is off
motion service created