- added possibility to register resources
- added empty player object