switch to coffee.mk, apache 2.0
fix tests