added documentation for how to create widgets