Some refactors for the custom logging and added more constants.
Test read-only access to content path.
Add more initial unit tests.