Updated .gitignore
Added duration parameter
Small refactoring
Merge pull request #17 from Nihisil/master

Added duration_seconds property