The code is restructured so that the library contains the actix-web code and the binary only does commandline parsing and running of the lib.