set up templates
added postgresql and removed sqlite