Implement apply()
Add .idea project to gitignore
Merge pull request #3 from wcandillon/apply

Implement apply()