first commit of Controller
started controller fragment
fixed up and merged