Rebuilt build tool to use grunt instead of terrible shell scripts.