refactor some methods
add coffee compiler and js compressor