fixed wrong comparison (bool over const char*) and added missing files