added setter / getter for fplot and activating output to file from the library