Minor cleanup + rewrite
Add eclipse project files to .gitignore
Add dofri php class to handle server side