Updated createRevision method of Addon class to use DBConnection Class