added testing capabilities and posts controller
created posts table to database