Added the final code with the relationships, latest migrations and stylesheets.