Move article creation into own function.
Move article deletion into own function.
Move querying logic into own functions.
Move all redis calls out of routing functions.