Implemented the Strategy Pattern
Implemented Query2 functionality
Introducted Abstract class
Followed the MVC architecture