refactored REST logic into it's own rest class.
fixed syntax error in SQL script, added scrypt and prompt deps, added card swipe attempt logging, added admin adding script, and scrypt testing script