Removed the extra main functions.  Updated the gitignore to ignore IDE specific stuff.