Created getter/setter class. Adding code to insert data into table