add service
add perzistence service, refacor config