Moved procedural functions to static class.
Initial PHPUnit tests commit.
Update composer.json after validating the file and to reflect recent changes.