Transferring parts from Sinatra to build the layout