added global error messages and template configuration

related to #8