@saurabh: added Controller class in controller package.edited service
class by creating a function to get all semesters.edited index.jsp also.