small code fixes and missing dependencies included
fixed date issues

Now using ISO-8601 (yyyy-MM-dd)