Fix compilation errors
Built and updated .gitignore file