added doc, gitignore and cmake