Replace spray-json with json4s and added error loggin closes #1 #2