implemented unsubscribe method
some cleanup and enable bintree loggin