update
add window callback function
prapare to add window
add command line parser
implement cmd parser