Integrate bootstrap files, porting Ruby functions to new view files