Added DNModel base class

Signed-off-by: Darren Ehlers <me@darrenehlers.com>