moved contest.js to lib folder
Added random.js module