Added POST, PUT and DELETE handlers to server