Thing As A Service Framework