added EPL license
#3 fix compilation bug
update .gitignore to ignore sample public files