remove ununsed variable.  delete unneccessary and duplicate code
add comment for  usage
initialize test file for controllers.js