Corrected a bunch of bugs in card authentification, reading and writing
Resolved a serious bug in card reading/writing
Added json parser
Added a bunch of logic inside bar class and lots of helper functions inside mode.
Added creation of admin card
Reverted to old main before merge
Finally implemented switching between bar and admin mode