Slightly improvements to the logging messages
Moved the log stub from test to main because we can reuse in the backend.
Added the hability to save the CSP if it does not exist in the DB
Further improvements to the log messages so that it displays what it is handling at the moment
Removed log messages from the test cases