Move to database for the codes repository
the original, simple version is back
Fixing the new initialisation of the libraries