translate resource to controller
restruct skeleton