code style.
add resource file.