improve code with using spray-routing and clean project