Added main method.
Added main method.