Added middleware for the headers, base app is done now.