After reviewing my work I decided to add in some exception handling and making vars in the class private so it can only return results with a get method