basic table mapper and model abstracts