Refactored the duel app to work with objects
Finished refactoring the duel main.js file and added some styles to make it more appealing