raven support

Add raven support.
@tonyseek pls review.