add basic velocitr object and functions
added comments