Refactored to use dispatch reboot scala http library