Removed controlLoop.c and header file and small cleanups
Removed controlLoop.c and header file and small cleanups