created module for leaderboard Methods

moved some methods from app to leaderboard