Move generator into algorithm package
Delete moved file