Logging and connecting to Controller workds. Models added.