Updated .gitignore file and added lib directory