Contiki mod

Basic Publish functionality is working