Updated Table constructor to accept configs