transition to online. still needs cleanup and complete removeal of sqlite