Set up lib configuration; added .gitignore