#21 Added api for dashboard and webapp communication