fix base64 encode
refactoring
add config.ru
refactoring
refactoring