fix get superClass bug. Closes #8
use npm scripts instead of Makefile