added Event class (wrapper for cudaEvent)