Algorithm strategies.

Integrated algorithm strategy pattern.
Removed unused files.