PHP / MySQL data mapping framework