Moved the datepicker controller from projects.controller to it's own file