Converted from express to hapi for server framework as the later is more robust