Adding api for the first query and LAN middleware.
Merge branch 'master' of https://github.com/dschurholz/bussiness_intelligence