new function and type for bot3config structure
moving more stuff to config file