postcard model added and preview portion added