Divided code into Modules

Created card.js and player.js inside node_modules and created test.js at the root. Confirmed player flip function is working.