- moved replace method to classes
- model evaluation method to classes
- updated the simplify method and added simple tests