refactored layout files and added bootstrap