Added baseY and height variables to database and Plot class