parser.js halfway done, need to rework database tables to complete