added ads and leaderboard
added output events