Add main script and update readme