NR-57 : Basic REST server components for handling gateway

Started support for update and insert security.