added main file and package.json
renamed all the middlewares to middleware.<foobar>