refractored init to utils and corrected doxygen warnings