Publish settings

Add publish settings and server db