Adding method to add fields to projects

Added method to add fields to projects.