* Setting encoding when connecting to the database
* Create a directory for the log