remove console.logs
Merge pull request #541 from maraoz/fix/logs

remove console.logs and general cleanup