Add vendor, refactor controllers and views