Added version information

Added a new file which will contain the version information.
Also changed the build workflow to use this information when needed.