add example
modify some bug in Application and Command