D2.1.1b Specification of the MARKOS Architecture and Service APIs (final)