added a config file, added margin for hitting the calorie target