Split database spec into multiple files