NR-57 : Basic REST server components for handling gateway

Added also the security access patterns for update and insert.