A library of algorithms in a component for CakePHP 2.X