Adds dashboard controller and fixes issue #39