Complex systems framework