Added attribution

This code is modified from the source at https://github.com/apitronics/Bee