Added main method and updated Readme.