improvement: separated version field from class

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>