Merge pull request #12 from stevebering/master

Fixed view templating process
More db connection cmd args. Improved conn string building