Adding Post model and appropriate methods