adding code input field

added field to enter preset codes which also converts to decimal (for
api calls) and binary (for toggling/updating the buttons on the page).
nothing significant is being done with the inputted code at the moment
however.