formatting
added base classes for inputText and inputDateTime
removed dead code
moved getDateAsObject to DatePciker and made it static so that it can be used as a utilitiy method by other classes
changed inputDate so tht no base classes are necessary