added restserverice
added exceptionhandling