adding initial kalman agent code