adding testing directory
adding app.js for SpellingBot
many changes breaking app code into app.js