* add implemention of strtobool * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review