added settings script
minor changes
minor changes
created settings constructor