Add usage of online library
Remove online library integration
Remove appcache integration
Refactor to use the latest domgen