Changed to api's Timer class for runtime and other calculations