added .gitignore and README file for lib directory