add config interface for date pattern
add detailed readme