add command line utility
add tk abstract functions