added main entry module and files for middlewares

missing semicolon