Generic code quality improvements, based on feedback check style, find bugs, pmd etc...
Merge pull request #32 from dizzzz/code_improvements

first round of code improvements ; ce module