Little refactoring, adding conf directory and last_discover field to the host model