Make DateTimePicker a class so we can reuse it later

These are the changes I added to make DateTimePicker functionality available as a util