Add cameraTool and some bug repair