Started moving validation from separate dll to the core

Signed-off-by: Seemant Rajvanshi <seemant.rajvanshi@gmail.com>