added Setting.java to include functions on setting in it.