Topic/crud directive

Corrected small issues in handler.py and setup crud directive to automatically deal with update and delete based on html properties.