Pull request for arduino support

This is a pull request to discuss development of an arduino port of the library. Do not merge yet