Add Templating module
Moove database management into new Database module