Alter tables.py to mappers.py