Refactoring code
Refactoring ALS and PMF to use efficient data structure for params and a seperate parameter class - Some features like serializing still to be implemented