Added Subject model and setup relationship with posts