added more servlet functionality, introduced routing