added version number
added public controller for the sample
add index for public controller
update index function in public controller
update index view for public controller
non plural public controller data
added public controller. Fixes #2