fix db connection

added validators, services, repositories
fix DateTime annotations