support arrays of middleware
add .gitignore