Adding a simple Logger and logging an error if the libraries folder cannot be read.