First working version, no GPIO or Jabber yet