Added nodeunit for unit testing.
Remote unused npm modules.
Started working on deck logic.