New implant can treat pain without prescriptions