Services

Added autogenerated ids, enable authentication, extract service contracts