Created Post and Thread classes