Modified version of coding challenge

All the specifications have been taken into consideration. A single html
file handling 2 ajax requests is created with respect to OOP design
being considered.