Updated akka version; minor improvements

Updated akka to 2.3.4 and fixed code according to Patrik's remarks. 
Also made some cleanup (imports mainly).
thanks :)