version: Split the version related functions and macros

Bump the version accordingly.