Move SQLDatabase to db subpackage.