Update skeleton code generator
Refactor math sources
Rename LoggingLevel to LogLevel enumeration