NR-57 : Basic REST server components for handling gateway

Added rbac support for handling security.