Made a basic outline of the funtion class