Refactoring level implementation
Merge pull request #32 from ivanmerola/master

Refactoring level implementation