Merge pull request #1 from tensorjack/master

Cleanup code
set case to lower in pyconfig