updating gem files and adding logging support