Added trainer.js. Starting to work on leap view trainer functionality