Added API versioning to support more major releases of the plugin and moved placement of recording the matches