adding post model and motto code