move processes.js to a public folder
add initializer to add middleware to use public/