Added configuration loading, better logging, clusters and new packages for templating