change contacts model into a singleton