add hibernate support
add exit service