Add library files and .gitignore