SettingsView Added, Code Cleaning and Commenting Code