Added velocity components, created header file