Fixed failbugs in COntrolManager.cpp and added Makefile rules for Vector library