Added eclipse classes dir and libs to .gitignore
Factory returns interface instead of object to allow for extending message publication