Updated akka version; minor improvements

Updated template to satisfy Patrik's remarks. Also made some cleanup (imports mainly).