Initial commit

ECStage class was refactored. Added .gitignore.