Inital doxygen documentation for the module
Simple fix to make the initalization of the variables happen before you
call the function
Change an old naming convention to the new one