added DailyNeeds db scheme
added getConfig method instead of hardcoded constants