add version command
logback config
add version api
add test method for version