add main method
update readme