rest api (activity, imputation) + frontend structure initialization