create model microposts and define relations