Added callbacks in favor of polling. Closes #3