R refactoring code

Fix problems in the card order and refactor some views with partial.

@kdmcclin, @aferragano, @jarmstrng we need to refactor the controllers and create new path to them, also make links for update and delete.

@tsamb we have our joke app running!! :)