Using main method.
Moving out http call to an actor. Not nice yet.