add request lib
add jinja2 template
create generate file method