Remove unuse variables
Extract a function to select collection
Rename middleware and extract configs loading
Merge branch 'clean-up' into development