Fixed dependencies and removed index.js which is no longer used