Extract resource router
Add resource creation