delete deprecated classes
starting traps implementation
continue traps implementation

added to JavaScript code
Merge remote-tracking branch 'origin/traps'