add basic card/deck logic and refactored bjt.js to allow modularity