refactored views and added foundation components