add virtual functions in basic_application class
add console addin