build simple widget framework for project