Simplified controller, work on sqlite3-driven model.