Thesis: up to literature/middleware. Demo: added the doc and figures