add support to user-defined style and id
update README for usage