markedcmsnode-6 Implement database template storage - start