adding date search and api v1 routes and controllers