added html index page for testing and added library core functions