Simplified code and added ModifiableSingleTempalteMatcher.java
Implemented ModifiableSingleTemplateMatcher