Add 'log' capabilities to function template

Add database code for registering RunningBlocks