Added an utility function to objectType. Update .gitignore to ignore eclipse IDE specific files