A template for a PhD thesis based on my own thesis (The Web of Things Application Architecture)