Add posts and messages models. However, haven't write unit test for them.
Need to write unit tests and change up some functions after discussion.