Implementation of TaskManager.cpp; fixed make files.