This is an implementation of the API for Wattvision, with a test program