cleaned up dependencies
tweaks in tools.coffee
simplified evaluation of literals