Revert to sqlite and fix bug

* no real db need - move back to sqlite
* fix layout-less controller endpoint