Pulled DB connection logic into its own module. Pulled Posts pull logic into its own route.