Added static resource handler and updated RestEndpoint methods