middlware project