Created a bitcoin helper class for common functions