Fix for date & app config

Github tickets:
App.config #4
Fix the DateTime assignment to records #7