Setting file added

Added support for saving settings into file