add option and refactor
add option and refactor

add option to customize title. rename heading to resource. and do some
style fixes.

griffithac/griffith_common,griffithac/griffith_common,griffithac/griffith_common,griffithac/griffith_common