Removed inheritance

Removed inheritance because it wasn't part of requirement. A get and set for each new deceleration was needed
Merge pull request #6 from Noflen/patch-2

Removed inheritance