implemented main method in "Run". Some documentation.