Renamed package from impl to alg