Rearranging code for creating, updating and deleting resources. Adding error messages when trying to create resources when missing needed parameters.
Merge pull request #12 from katrinnilsson/error-messages

Rearranging code for creating, updating and deleting resources. Adding e...