Avoiding the use of source code files (*.cpp) for simple code with few dependencies and dependencies are multiplatform.

Signed-off-by: Emerson MX <emersonmx@gmail.com>