fixed copyright dates and added defines in header files