remove most code, compare with WebAppConfig in molgenis-palga repository