Remove compiled and node_modules; remove unused modules; use ES6 syntax