Refactored axis\Unit class into trait

Signed-off-by: Tom Wright <tom@inflatablecookie.com>