Revert "Improve CS"

This reverts commit 54b85d57ec96536ee4f32ed5f63155ae61525935.
Revert "Actions done:"

This reverts commit b8479cb4398a56f6c41810e37bbbfcab973db962.
Revert "Improve code to fulfill coding standards."

This reverts commit 9ac67af3f09957d2a4f306af39ccf01511191c37.
Revert "Improve code on loadMetadata() to verify if class exists, avoid a later warning when calling class_parents()"

This reverts commit 68a40cc304103ac17823113d0cf555b5e957972c.