Added simple posts views and main.html