Added logic to load swingValueArrayArray from database, and added unit tests for swingRequestArrayArray and swingValueArrayArray