add ui gems and move layout to haml