Added .gitignore file.
Used mpool for memory alloc.