move more stuff to config
make config changable from any html app