moving supporting functions to utils.py
clean up
Merge branch 'master' of github.com:frodopwns/valar