Improves code as functional
Improves overal repository code
Updates to scala 2.10.2