Fix parameters loading.
Follow coding conventions.
Merge pull request #19 from osaris/fix-configuration-loading

Fix configuration loading and follow coding conventions.