Adding README files
Adding separate view function
Updating sample widget to use the views render function