reformat code
refactor middleware options
add preconfigure option
use f4-express-middlewares