Update gems & Refactoring

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>
Add Gemfile.lock

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>
Merge pull request #22 from abrisse/master

Refactoring