Modified Plant class

Complete the get and set functions