Some progress on controller db connection.