Adding redis database support; add properties in template and additional check