add API to share functionality of single entry point widget impl - v0.3.5