added foundation to the app and also added the code to show flash messages.