working on settings

start of making settings do time slots and other global settings