Added support for multiple databases, with special ones called default and test. This means the app can be used online although it is slow currently.