put mappings into a separate class