Split compiler code into own library
Removed index.js