Added some config code

config
logging
intervals