split contextmap into separate file