Fixed the issue with inability to create resource reference

- Private key is now stored in a file when endpoint receives it
- Made UI stub
- Reverted short array syntax