Rearranging functions
Completed jojo. Added helper method for binding middleware to articles