Possible solution for RESTful methods
Minor edits
Minor edit
Added ideal code for validation
Added layouts directory