initialization with libraries, html file, etc.