Added merge and version

Added version string and merge function