Fixed the lib directory not being properly created and added a gitignore file.