implements fluent mapping by using a mapping class for each entity.