Major update on databases and configuration, also added new routing options.