Implemented client side for adjusting threshold. Closes #3