Renamed pivot table to align with what Laravel is expecting
Added base interfaces and traits to implement the interfaces.