add chai dependency, move rainforest api code to separate project