Create buttonsgroupview.js

handles and delegates button click events to appropriate listeners