Upgraded project to .NET 4.5.
Refactored methods so that every call has a state.
Added .gitignore files.