add srv

need describin functions for work with db