Added WriteError to main interface
Added .gitignore