implemented Spring mvc architecture assignment