Added settings object, removed the constants