TermHostFactory with 2 intentional bugs (setting up unit testing later)
refactored to abstract base
added missing interface method
default nickname as hostname
initial (broken) SQLite cursor thingy...