command line interface
db connection
settings singleton table