Adding constructor method
Fixing resource name