[solved] Brain fart with using Serial in custom library

I just bought a JP 4ch Serial servo controller chip off ebay, and it came with a simple example code, but I want to make it into a library rather than keep declaring the functions. Im know its something so simple, but I just can’t think of how to use hardwareSerial in my library.

Here is my c++ file, keep in mind I’m still going to include more later, like more channels and even use softwareSerial. But for now I just want to test it out.

#include "Arduino.h"
#include "CustServo.h"
#include <HardwareSerial.h>

void CustServo::Number_of_Channels(uint8_t channel) // 4, 10, 23, 34
  if (channel == 4){  // change to case statements
  int ServoNum[5] = {48, 49, 50, 51, 52};
  // more channels to be added later

void CustServo::SetBaud(uint8_t baud) // 4800 or 19200

void CustServo::Move(uint8_t chan, uint8_t position)
  int ServoNum[5];
  Serial.write(ServoNum[chan]);            // What channel to use   
  Serial.write(map(position,0,180,7,247)); // send position command 

Any help would be great.

UPDATE: I figured it out, ha. I’m an idiot sometimes -_-

Can a moderator please delete this post.