This class is the main class. Here, all posts are read and written.