Using Idiorm in LeaderBoard Class. 
Corrected foreach logic in views as now leaderboard has all properties of each user, not just name and score. 
Slowly removing dependency of db injection via container.