Added a basic relationship mapper. Now only runs on python 3 (might change)