update cmake config, 1. refine the structure; 2. add google test to do unit testing
update .gitignore: 1. add comment; 2. ignore google test library