Setup example.html file, started type checking options and initializing API