Added RestApplicaitn and removed dependency for restservice