fix many things about title and added config.ru for deployment