A model with a viable dark matter candidate and massive neutrinos