Updated package to point to component

Updated package to point to compoenent instead of index.js. This way when using it as a module you can just reference the folder.