Added logging capabilities to the command line template and postgres
also added option for interactive, still long way until getting a nice class