Splitting the Sync functions into a separate package
Made changes to send counter values as an int instead of as hex.