move index.js to src folder.

Signed-off-by: Lee <jessy1092@gmail.com>